<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <link rel="stylesheet" href="./css/base.css" />
    <style>
      .reg {
        position: absolute;
        left: 50%;
        top: 50%;
        width: 550px;
        height: 368px;
        /* background-color: pink; */
        margin-left: -271px;
        margin-top: -184px;
      }
      .reg li {
        height: 36px;
        line-height: 36px;
        /* border: 1px solid #000; */
        margin-bottom: 20px;
      }
      .reg li label {
        display: inline-block;
        width: 88px;
        text-align: right;
      }
      .reg li input {
        width: 240px;
        height: 36px;
        border: 1px solid #000;
        margin-right: 10px;
      }

      .error {
        color: #f00;
      }
      .success {
        color: #0f0;
      }
    </style>
  </head>
  <body>
    <div class="reg">
      <ul>
        <li>
          <label for="user">手机号：</label><input type="text" id="user" /><span class="error"
            ><i class="error_icon"> <img src="./images/error.png" alt="" /> </i>手机号码格式不正确，请从新输入
          </span>
        </li>
        <li>
          <label for="sms">短信验证码：</label><input type="text" id="sms" /><span class="error"
            ><i class="error_icon"> <img src="./images/error.png" alt="" /> </i>手机号码格式不正确，请从新输入
          </span>
        </li>
        <li>
          <label for="pwd">登陆密码：</label><input type="password" id="pwd" /><span class="error"
            ><i class="error_icon"> <img src="./images/error.png" alt="" /> </i>手机号码格式不正确，请从新输入
          </span>
        </li>
        <li>
          <label for="surePwd">确认密码：</label><input type="password" id="surePwd" /><span class="success"
            ><i class="success_icon"> <img src="./images/success.png" alt="" /> </i>手机号码格式不正确，请从新输入
          </span>
        </li>
      </ul>
    </div>
  </body>
</html>
